package com.zhongge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhongge
 * @since 2025-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_teacher_class")
public class TeacherClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 辅导开始时间
     */
    private LocalDate begin;

    /**
     * 辅导结束时间
     */
    private LocalDate end;

    /**
     * 班级ID 外键 参考t_class(id)
     */
    private Long classId;

    /**
     * 教师ID 外键 参考t_teacher(id)
     */
    private Long teacherId;


}
